'use strict';
const Controller = require('egg').Controller;
const opts = require("../../public/opts.js");
const dicts = require("../../public/dicts.js");
const brands = require("../../public/brands.js");
const address = require("../../public/address.js");

class ViewController extends Controller {
  brands() {
    this.ctx.body = brands;
  }
  opts() {
    // this.ctx.status=400;
    this.ctx.body = opts;
  }
  dicts() {
    this.ctx.body = dicts;
  }
  address() {
    this.ctx.body = address;
  }
}

module.exports = ViewController;
